home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr18 / wcsbj13.zip / BLKJACK.DOC next >
Text File  |  1995-02-05  |  20KB  |  467 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.      _____________________________________________________________________
  19.  
  20.  
  21.  
  22.  
  23.                                WCS BlackJack v1.3
  24.                                         
  25.                                   Written by
  26.  
  27.                                  Rob Williams
  28.                                  WCS Software
  29.  
  30.  
  31.      _____________________________________________________________________
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.                             Copyright Notice
  53.                             ----------------
  54.  
  55.      This door game is distributed under the SHAREWARE concept.  This
  56.      concept gives you the chance to "try before you buy", and see if it
  57.      meets your needs.  
  58.  
  59.      I've decided to break away from the standard "30 day trial period"
  60.      that many door authors are using and instead go to a much simpler 
  61.      and more realistic policy. This is simply; Try it on your BBS.
  62.      If you like it and your users like it, then register it.  If it's not 
  63.      good enough to register, then delete it.  
  64.  
  65.      While I'd like you to register my doors as soon as possible, I'm also 
  66.      realistic enough to know that different boards have different requirements
  67.      and interests, and sometimes it takes longer befor a game catches on, or a
  68.      sysop can get to the Doors on his list to register.  And frankly, I'd 
  69.      rather you ran it for awhile and register, than try it for a short 
  70.      period of time and delete it. Nobody wins that way...I lose out on a 
  71.      registration and your users lose out on the chance of having the 
  72.      registered door to play.
  73.  
  74.      The above "extended trial" statement was copied with permission from
  75.      Mike Jordan of M&S Doors.
  76.  
  77.      As a shareware  program, WCS BlackJack may be freely distributed.
  78.      Shareware distributors may distribute copies of WCS BlackJack on disk 
  79.      for a modest disk duplication charge not to exceed $4 per disk.
  80.  
  81.  
  82.  
  83.                                     Warranty
  84.                                     --------
  85.  
  86.      WCS BlackJack is distributed on as as is basis.  In no event will
  87.      Rob Williams or WCS Software be liable to you for damages, including 
  88.      any loss of profits, lost savings, or other incidental or  
  89.      consequential damages arising out of your use of or inability to use 
  90.      this program, even if Rob Williams, WCS Software, or an authorized 
  91.      representative has been advised of the possibility of such damages.  
  92.      Rob Williams and WCS Software will not be liable for any such claim 
  93.      by any other party.
  94.  
  95.  
  96.                           Features of WCS BlackJack
  97.                           -------------------------
  98.  
  99.      Assembly language serial input/output routines for maximum speed.
  100.  
  101.      Fully supports high speed modems: 16550 FIFO buffering and locked
  102.      serial ports.
  103.  
  104.      Built in ANSI terminal emulator.  No need to have ANSI.SYS loaded in
  105.      memory.
  106.  
  107.      DesqView, Windows, and OS/2 aware.
  108.  
  109.      Supports all of the most popular door data file formats:
  110.      TriBBS, PCBoard, GAP  (DOOR.SYS), Spitfire, WildCat!,  RBBS, and WWIV.
  111.  
  112.      ANSI and ASCII Bulletins of high scorers.
  113.  
  114.      Automatic monthly maintenance with no intervention from the Sysop.
  115.  
  116.      Supports play ahead and make up days when registered.  This is
  117.      completely sysop configurable.
  118.  
  119.      WCS BlackJack is Multinode Aware!
  120.  
  121.  
  122.                          Files used in the Program
  123.                          -------------------------
  124.  
  125.      BLKJACK.EXE   -   The main WCS BlackJack program
  126.  
  127.      REGISTER.FRM  -   Information on registration
  128.  
  129.      SAMPLE.CFG    -   Sample configuration file
  130.  
  131.      SAMPLE.BAT    -   Sample batch file to run WCS BlackJack
  132.  
  133.      HISCORE.DAT   -   Created when the program runs-contains hi score info
  134.  
  135.      BJUSER.DAT    -   Created when the program runs-contains user info
  136.  
  137.      BLKJACK.KEY   -   Key file for registered versions
  138.  
  139.      BLKJACK.USE   -   Created when the game is running, will be deleted
  140.                        when the user exits normally.  
  141.                        (only in single user/non-registered versions)
  142.      
  143.      *************************************************************************
  144.      ** IMPORTANT - The game will not run if this file (BLKJACK.USE) exists **
  145.      *************************************************************************
  146.  
  147.      BLKJACK.HLP   -   Help file for the game.  When the Instructions option
  148.                        is selected, this file is displayed.  You may edit
  149.                        this file if you wish.  It is a plain ASCII text file.
  150.  
  151.      BLKJACK.HIS   -   History of the product.  Shows what enhancements were
  152.                        made in what version.
  153.  
  154.      WCSINFO.TXT   -   A text file explaining more about WCS Software and 
  155.                        showing all currently available WCS Software programs.
  156.  
  157.      READ.ME       -   A brief text file explaining how to get up and running
  158.                        quickly.
  159.  
  160.  
  161.                            Setting up WCS BlackJack
  162.                            ------------------------
  163.  
  164.      WCS BlackJack is run by  entering a command similar to the
  165.      following:
  166.       
  167.      BLKJACK BLKJACK.CFG
  168.  
  169.      The configuration file can have any name you choose, but it must
  170.      reside in the same directory as the door.  The configuration file is
  171.      an ASCII text file with the following format:
  172.  
  173.      Line 1:   Door data file type.
  174.      Line 2:   Path to the door data file(s).
  175.      Line 3:   BBS name.
  176.      Line 4:   Sysop's name.
  177.      Line 5:   Locked baud rate.
  178.      Line 6:   ASCII High Score Bulletin Name
  179.      Line 7:   ANSI High Score Bulletin Name
  180.      Line 8:   Comments file name
  181.      Line 9:   Number of Games per day
  182. *    Line 10:   Number of extra days allowed for make up days
  183. *    Line 11:  Day to start playing make up days-31 to disable
  184.      Line 12:  Write log files (explained below)
  185. *    Line 13:  Line to display a message (donated by, etc)
  186.      Line 14:  Name you want the dealer to have
  187.  
  188.      Lines with a "*" to the left indicate features only present in the
  189.      registered version of the program.  *** The lines must be present,
  190.      even if the door is not registered. ***
  191.  
  192.      As illustrated above, the door's data file type is specified in line 1
  193.      and can be PCB for PCBoard, GAP for GAP (DOOR.SYS), SF for Spitfire,
  194.      RBBS for RBBS, WC for WildCat!, TRIBBS for TriBBS, or WWIV for WWIV. 
  195.      The locked baud rate is specified in line 5.  If you don't lock your
  196.      serial port, you must specify 0 for the locked baud rate.  
  197.      The following is a sample door configuration file:
  198.  
  199.      ************************************************************************
  200.      ** IMPORTANT - If you are running WC 4.x, use the GAP drop file       **
  201.      ************************************************************************
  202.  
  203.      WC                             <== BBS Type
  204.      C:\WC30\WCWORK\NODE1           <== Drop file location
  205.      WCS Software BBS               <== BBS Name
  206.      Rob Williams                   <== Sysop Name
  207.      0                              <== Locked baud rate
  208.      C:\WC30\BULL\BULL10.BBS        <== ASCII bulletin
  209.      C:\WC30\BULL\BULL10.SCR        <== ANSI bulletin
  210.      C:\WC30\COMMENTS.DRS           <== Comments File name
  211.      10                             <== # of questions per day
  212.      2                              <== Extra days allowed for make up days
  213.      10                             <== Day to start make up days
  214.      A                              <== Write a log file (See Below)
  215.      By WCS Software                <== Donated by line
  216.      Computers Name                 <== Name as you want it to appear for
  217.                                         the dealer
  218.      ************************************************************************
  219.      ** IMPORTANT - Even if the game is not registered, the last  three    **
  220.      ** lines must exist, or the game will not run.  You will get an error **
  221.      ** when the game starts up.                                           **
  222.      ************************************************************************      
  223.  
  224.      On line 11, the valid options for a log file are:
  225.         - P for Play log ONLY  (BLKJACK.nodenumber)
  226.         - N for No logs
  227.         - C for Comments log ONLY 
  228.         - A for ALL Logs (play log and comment log)
  229.  
  230.      WCS BlackJack can be run locally without a door data file (handy
  231.      for the sysop to use the door without logging on to the BBS) by
  232.      specifying /L after the  configuration  file  parameter in  the  DOS 
  233.      command line.  WCS BJ will request you to enter your name before running
  234.      the door.
  235.  
  236.      To play the game in Multiuser mode, you must have a registered multinode 
  237.      copy,and DOS SHARE must be loaded.  If these two things are not done,  
  238.      the game will display a message if you try to run multinode.
  239.  
  240.      Nonstandard IRQs can be used by specifying the IRQ number after the 
  241.      "config" parameter in the command line used to run the door as
  242.      follows:
  243.  
  244.      BLKJACK BLKJACK.CFG 4
  245.  
  246.               Setting up WCS BlackJack for Multinode Play
  247.               -------------------------------------------
  248.  
  249.     In order to set WCS BlackJack up for multinode play, you need to create a
  250.     .cfg file for each node that will be using the game.  The .cfg files
  251.     will be similar, except that lines 2 and possibly 5 will be different.
  252.     Line 2 is the location of the door drop file.  This needs to be unique
  253.     for each node that runs the game.  Line 5 is the locked baud rate for
  254.     the node.  If you have nodes that are locked at different rates, then
  255.     this line may be different for different nodes.  For example, the
  256.     configuration file for node 1 (BLKJACK.CF1) might look like this:
  257.  
  258.       GAP
  259.       H:\WILDCAT\WCWORK\NODE1     <=== Notice this is the node 1 directory
  260.       Williams Computer Services BBS
  261.       Rob Williams
  262.       19200
  263.       [etc].....
  264.  
  265.     And the configuration file for node 2 (BLKJACK.CF2) might look like this:
  266.  
  267.       GAP
  268.       H:\WILDCAT\WCWORK\NODE2     <=== Notice this is the node 2 directory
  269.       Williams Computer Services BBS
  270.       Rob Williams
  271.       19200
  272.       [etc].....
  273.  
  274.     You will also need to set an environment variable to tell the program
  275.     what node it is currently running on.  Since I run Wildcat, I call
  276.     this variable WCNODEID.  In my .BAT file that calls the BBS, I set the
  277.     WCNODEID to whatever node is running.  You can use wahtever name you
  278.     wish, it just needs to be a unique node ID.
  279.  
  280.     Next, in the batch file that calls WCS BJ, you would change the sample.bat
  281.     that is included with this archive to look like this:
  282.  
  283.        CD\BLKJACK
  284.        BLKJACK BLKJACK.CF%WCNODEID%
  285.  
  286.     What this will do, is when the game is started, it will look for the
  287.     WCNODEID (or whatever you called it), and append that to BLKJACK.CF.  So
  288.     when the game runs, and you run it from node 1 say, it will use .cfg file
  289.     BLKJACK.CF1.
  290.  
  291.     Hopefully, I have not totally confused you on how to set the door up for
  292.     mult-node use.  If you have questions on environment variables, refer
  293.     to your DOS manual.
  294.  
  295.    **************************************************************************
  296.    ** Running this game on more than a single node requires a Multi-Node   **
  297.    ** Key.  When running in Evaluation mode, only one (1) Node will be able**
  298.    ** to access the door at a time.                                        **
  299.    **************************************************************************
  300.  
  301.  
  302.                             Playing the Game
  303.                             ----------------
  304.      WCS BlackJack is very simple to play.  When you enter the door, you
  305.      come to a menu of four options.  They are:
  306.  
  307.        P)lay WCS BlackJack - Starts the game
  308.        H)igh scores - Shows the high score bulletin
  309.        I)nstructions - Displays this file
  310.        Q)uit - Exits the game
  311.  
  312.  
  313.      Available Keys
  314.      --------------
  315.      After choosing the "P" option from the main menu, you are brought to the
  316.      main blackjack screen.  From this screen there are four options:
  317.  
  318.        [R]edraw Screen - Redraws the screen if you get line noise, etc.
  319.        Hi[G]h scores - Shows the high score bulletin
  320.        [I]nstructions - Displays this file
  321.        [Q]uit - Exits the game
  322.    
  323.      After choosing [P]lay, you will be asked how much you wish to bet.  Type
  324.      in your answer and press enter.  Then, two cards will be dealt to you and
  325.      the dealer.  You will only be able to see one of the dealers cards.  After
  326.      that, you will be asked if you want to [H]it or [S]tand.  If you want
  327.      another card, choose [H]it, if not, choose [S]tand.  The object is to get
  328.      as close to 21 as possible without going over.  If you beat the dealer, you
  329.      win the amount of money you bet.  If you beat the dealer and get a BlackJack,
  330.      you win double your bet.  If you get 2 cards totalling 11, you will be
  331.      asked if you want to double down.  What that does is only give you one more
  332.      card, but your bet is doubled (hoping for a 10).  If you get 2 10s, you will
  333.      be asked if you want to split.  What that does is take the second card, save
  334.      it for a second hand, and allow you to play 2 hands, both with a 10 in them.
  335.      Your bet will be the same for the second bet, and when playing the second
  336.      hand, you will see "playing split hand" above the betting area.  You
  337.      continue on playing hands until you run out of hands to play for today, or
  338.      you choose [Q]uit.  Then you will be asked if you want to view the high
  339.      scores.  Then you will be returned to the BBS.
  340.  
  341.  
  342.      Scoring
  343.      -------
  344.      Scoring is very simple.  The more money you accumulate, the higher your
  345.      score.  The scores are reset once a month.
  346.  
  347.  
  348.      When you go into the door, you will see an opening screen, it will
  349.      wait for you to press a key, then show you the main menu.  From here,
  350.      there are four options.  P will take you to the playing screen, H will
  351.      show you the high score list, I will show you a help file for playing
  352.      the game, and Q will return you to the BBS.
  353.  
  354.      The first time a player plays the game each month, the system will
  355.      automatically reset the player statistics.  This process should not
  356.      take more than a few seconds, and is automatic, so no intervention
  357.      from the Sysop is necessary.
  358.  
  359.                            Make-Up Days Explanation
  360.                            ------------------------
  361.  
  362.      The make up days feature warrants a little more explanation here.
  363.      When the game is registered, after you have played your game for today,
  364.      it will check to see if make up days has been enabled (start day < 31).
  365.      If today is greater than the start day, and the total number of days you
  366.      have played is not greater than what was specified in the .cfg file, it
  367.      will ask you if you want to play a make up day.  It will then show a
  368.      calendar of days for the current month.  Days that you have played will
  369.      show up in red with an x, playable days will show up in green with an o.
  370.      Choose a valid date (one with an o, within the current month), and you
  371.      will start another days game.  If you changed your mind and do not want
  372.      to play a make up day, enter 99, and you will be asked if you want to
  373.      view the high scores, then be returned to the BBS.
  374.                             
  375.                               Special Keys
  376.                               ------------
  377.                                     
  378.      While WCS BJ is running, the sysop can press certain special keys to
  379.      perform a variety of functions.   The following is a list of the
  380.      functions that the special keys perform:
  381.  
  382.      Key(s)              Function
  383.  
  384.      HOME                Toggles between the user  status window and a help
  385.                          display that lists the special keys.
  386.  
  387.      F6                  Takes 5 minutes away from the caller.
  388.                          NOTE:  This will NOT be returned to BBS.
  389.  
  390.      F7                  Gives 5 minutes to the caller.
  391.                          NOTE:  This will NOT be returned to the BBS.
  392.  
  393.      F9                  Quit the door and return the caller to the BBS.
  394.  
  395.      F10                 Enter  chat mode.  Pressing the  ESC key exits the
  396.                          chat mode.
  397.  
  398.      Alt+D               Drop to DOS.
  399.  
  400.                                  
  401.                                 Support
  402.                                 -------
  403.  
  404.      If you have problems, I will try and help as best I can, whether you
  405.      are registered or not.  Registered users will get priority over non-
  406.      registered users, though.  You may get help with problems by calling 
  407.      Williams Computer Services BBS at (503) 631-8439, or by writing to 
  408.      the author at the following addresses:
  409.  
  410.      FIDO     : 1:105/278
  411.  
  412.      Internet : rob@wcs.org
  413.  
  414.      US Mail:
  415.  
  416.           Rob Williams
  417.           18370 S. Henrici Road
  418.           Oregon City, OR 97045
  419.  
  420.  
  421.                        Registering WCS BlackJack
  422.                        -------------------------
  423.  
  424.      Registration of WCS BlackJack is only $10.00 for single node
  425.      or $15.00 for Multi-Node.   Please use the form in the file
  426.      REGISTER.FRM.   When  you register,  you will receive a registration
  427.      key that will turn your version into a registered version.
  428.  
  429.      Registered users will have access to the special area of the support
  430.      BBS for additional questions, and also be able to add new questions,
  431.      edit questions and users, print questions and users, and import and
  432.      export questions.
  433.  
  434.  
  435.         ***** ALL UPDATES ARE FREE FOR THE LIFE OF THE PROGRAM *****
  436.  
  437.                             Acknowledgements
  438.                             ----------------
  439.  
  440.  Thanks go to the following people/companies (Listed in no particular order):
  441.  
  442.           - Mustang Software for creating Wildcat!
  443.           - Randy Hunt and Mark Goodwin for creating RMDoor which was used
  444.             to create this game.
  445.           - Mike Jordan for his help with some of the routines, and for the
  446.             idea of the make up days, and also help in testing, and his help 
  447.             in helping me get started in door programming.
  448.           - Andy Stewart for his programming help, and also for creating the
  449.             main play screen.
  450.           - Marcus and Ronda Eikenberry for their help in testing and finding
  451.             a few stubborn bugs.
  452.           - Gayle Davis and all the people that have contributed to the 
  453.             SWAG archives.  I have used various snippets from those
  454.             archives, as well as them giving me good ideas on how to
  455.             proceed next.  Thank you.
  456.           - Norman Scott for helping correct the documentation and writing the
  457.             help screen
  458.           - A Big thank you to all my beta testers:
  459.                Norman Scott at 1:375/8
  460.                Walter Cade at 1:398/2
  461.                Mike Jordan at 1:105/314
  462.                Andy Stewart
  463.  
  464. There are probably more people that I have forgotten, but these have been
  465. the most instrumental in the writing of this program.
  466.  
  467.